﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020007B3 RID: 1971
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetPunkLordMonsterDataScRsp : IMessage<GetPunkLordMonsterDataScRsp>, IMessage, IEquatable<GetPunkLordMonsterDataScRsp>, IDeepCloneable<GetPunkLordMonsterDataScRsp>, IBufferMessage
	{
		// Token: 0x17001926 RID: 6438
		// (get) Token: 0x0600588E RID: 22670 RVA: 0x000EEDF1 File Offset: 0x000ECFF1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetPunkLordMonsterDataScRsp> Parser
		{
			get
			{
				return GetPunkLordMonsterDataScRsp._parser;
			}
		}

		// Token: 0x17001927 RID: 6439
		// (get) Token: 0x0600588F RID: 22671 RVA: 0x000EEDF8 File Offset: 0x000ECFF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetPunkLordMonsterDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001928 RID: 6440
		// (get) Token: 0x06005890 RID: 22672 RVA: 0x000EEE0A File Offset: 0x000ED00A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetPunkLordMonsterDataScRsp.Descriptor;
			}
		}

		// Token: 0x06005891 RID: 22673 RVA: 0x000EEE11 File Offset: 0x000ED011
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetPunkLordMonsterDataScRsp()
		{
		}

		// Token: 0x06005892 RID: 22674 RVA: 0x000EEE24 File Offset: 0x000ED024
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetPunkLordMonsterDataScRsp(GetPunkLordMonsterDataScRsp other) : this()
		{
			this.kMIPDPPPLGN_ = other.kMIPDPPPLGN_.Clone();
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005893 RID: 22675 RVA: 0x000EEE5A File Offset: 0x000ED05A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetPunkLordMonsterDataScRsp Clone()
		{
			return new GetPunkLordMonsterDataScRsp(this);
		}

		// Token: 0x17001929 RID: 6441
		// (get) Token: 0x06005894 RID: 22676 RVA: 0x000EEE62 File Offset: 0x000ED062
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<DIEEHLNJLON> KMIPDPPPLGN
		{
			get
			{
				return this.kMIPDPPPLGN_;
			}
		}

		// Token: 0x1700192A RID: 6442
		// (get) Token: 0x06005895 RID: 22677 RVA: 0x000EEE6A File Offset: 0x000ED06A
		// (set) Token: 0x06005896 RID: 22678 RVA: 0x000EEE72 File Offset: 0x000ED072
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06005897 RID: 22679 RVA: 0x000EEE7B File Offset: 0x000ED07B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetPunkLordMonsterDataScRsp);
		}

		// Token: 0x06005898 RID: 22680 RVA: 0x000EEE8C File Offset: 0x000ED08C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetPunkLordMonsterDataScRsp other)
		{
			return other != null && (other == this || (this.kMIPDPPPLGN_.Equals(other.kMIPDPPPLGN_) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005899 RID: 22681 RVA: 0x000EEEDC File Offset: 0x000ED0DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.kMIPDPPPLGN_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600589A RID: 22682 RVA: 0x000EEF29 File Offset: 0x000ED129
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600589B RID: 22683 RVA: 0x000EEF31 File Offset: 0x000ED131
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600589C RID: 22684 RVA: 0x000EEF3C File Offset: 0x000ED13C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.kMIPDPPPLGN_.WriteTo(ref output, GetPunkLordMonsterDataScRsp._repeated_kMIPDPPPLGN_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600589D RID: 22685 RVA: 0x000EEF8C File Offset: 0x000ED18C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.kMIPDPPPLGN_.CalculateSize(GetPunkLordMonsterDataScRsp._repeated_kMIPDPPPLGN_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600589E RID: 22686 RVA: 0x000EEFE0 File Offset: 0x000ED1E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetPunkLordMonsterDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.kMIPDPPPLGN_.Add(other.kMIPDPPPLGN_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600589F RID: 22687 RVA: 0x000EF02D File Offset: 0x000ED22D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060058A0 RID: 22688 RVA: 0x000EF038 File Offset: 0x000ED238
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 34U)
				{
					if (num != 56U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.kMIPDPPPLGN_.AddEntriesFrom(ref input, GetPunkLordMonsterDataScRsp._repeated_kMIPDPPPLGN_codec);
				}
			}
		}

		// Token: 0x04002288 RID: 8840
		private static readonly MessageParser<GetPunkLordMonsterDataScRsp> _parser = new MessageParser<GetPunkLordMonsterDataScRsp>(() => new GetPunkLordMonsterDataScRsp());

		// Token: 0x04002289 RID: 8841
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400228A RID: 8842
		public const int KMIPDPPPLGNFieldNumber = 4;

		// Token: 0x0400228B RID: 8843
		private static readonly FieldCodec<DIEEHLNJLON> _repeated_kMIPDPPPLGN_codec = FieldCodec.ForMessage<DIEEHLNJLON>(34U, DIEEHLNJLON.Parser);

		// Token: 0x0400228C RID: 8844
		private readonly RepeatedField<DIEEHLNJLON> kMIPDPPPLGN_ = new RepeatedField<DIEEHLNJLON>();

		// Token: 0x0400228D RID: 8845
		public const int RetcodeFieldNumber = 7;

		// Token: 0x0400228E RID: 8846
		private uint retcode_;
	}
}
